<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class WxAuthentication extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'wx_authentication';

    public function user()
    {
        return $this->hasOne(WxUser::class, "id", "user_id");
    }

}
